package cn.tradewin.pmp.services.download;

import java.io.IOException;
import java.io.OutputStream;

import org.apache.tapestry5.services.Response;

public interface OutputStreamResponse {
	String getContentType();
	
	// OutputStream stand for Response.getOutputStream()
	void writeToStream(OutputStream out) throws IOException;
	
	void prepareResponse(Response response);
}
